feat: add My Account button block to all header patterns#404
Conversation
|
@thomasguillot I'd appreciate your eyes on this one, mostly to make sure I haven't committed a crime! 🙂 |
|
Thank you @laurelfulford. I've just changed the button's colours. Otherwise it looks 👍 |
|
Thanks @thomasguillot!
This sounds like a good approach! I didn't even think about turning the icon off but that would be a handy option (and one of those things that's likely to get asked for!). With that change, I'll spin up a second block theme PR to update the mobile patterns to use the icon-only option. |
|
PR's added here for the icon toggle! Automattic/newspack-plugin#4443 |
# [1.24.0-alpha.1](v1.23.0...v1.24.0-alpha.1) (2026-02-05) ### Bug Fixes * dequeue some Woo styles from the theme ([#401](#401)) ([821f81c](821f81c)) * update single post template widths ([#407](#407)) ([a99b2cf](a99b2cf)) ### Features * Add My Account button block ([#400](#400)) ([7c99f35](7c99f35)) * add My Account button block to all header patterns ([#404](#404)) ([d7b8b4a](d7b8b4a))
|
🎉 This PR is included in version 1.24.0-alpha.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
# [1.24.0](v1.23.0...v1.24.0) (2026-02-16) ### Bug Fixes * dequeue some Woo styles from the theme ([#401](#401)) ([821f81c](821f81c)) * update single post template widths ([#407](#407)) ([a99b2cf](a99b2cf)) ### Features * Add My Account button block ([#400](#400)) ([7c99f35](7c99f35)) * add My Account button block to all header patterns ([#404](#404)) ([d7b8b4a](d7b8b4a))
|
🎉 This PR is included in version 1.24.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |

All Submissions:
Changes proposed in this Pull Request:
This PR adds the My Account Button block (with a conditional check) to all the header patterns bundled with the Newspack theme (excluding mobile layout 2 -- I just couldn't make it work nicely with the size of the button).
Open questions/comments:
1.45emas the smaller size fixed it, but I'm not sure if/how we'd want to do something like that (just target the x-small CSS class? Just target the editor? Leave it since the front-end is fine?) so I left it for now.See NPPD-1177.
How to test the changes in this Pull Request:
Desktop:

Pattern 1:
Pattern 2:

Pattern 3:

Pattern 4:

Pattern 5:

Mobile:

Pattern 1:
Pattern 3:

Other information: